//
//  Play_LocationTableViewCell.m
//  TravelEveryDay
//
//  Created by 路洪宇 on 15/10/16.
//  Copyright © 2015年 com.lanou3g. All rights reserved.
//

#import "Play_LocationTableViewCell.h"
#import "BaseHeader.h"
@implementation Play_LocationTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
        self.contentView.backgroundColor = TITLECOLOR;

    }
    return self;
}

- (void)createView
{
    _label = [[UILabel alloc] initWithFrame:CGRectMake(10, 10, 200, 30)];
    _label.font = [UIFont systemFontOfSize:15.];
    _label.textColor = [UIColor whiteColor];
    [self.contentView addSubview:_label];
    
    UIView *lineView = [[UIView alloc] initWithFrame:CGRectMake(10, _label.frame.size.height+_label.frame.origin.y+9,SCREEN_WIDTH-20 , 0.5)];
    lineView.backgroundColor = [UIColor whiteColor];
    lineView.alpha = 0.7;
    [self.contentView addSubview:lineView];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
